package com.neusoft.yuejian12.yuejian_12.model;

import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;

import static com.neusoft.yuejian12.yuejian_12.constant.Constant.BASE_URL;

/**
 * Created by ZTY on 2017/10/21.
 */

public class RetrofitBaseModel {
    protected Retrofit retrofit;
    protected int flag;
    public RetrofitBaseModel()
    {
        retrofit=new Retrofit.Builder()
                .baseUrl(BASE_URL)
                .addConverterFactory(GsonConverterFactory.create())
                .build();
    }


}
